//
//  WYBannerView.h
//  AdvertTest
//
//  Created by weiyuan on 2017/11/22.
//  Copyright © 2017年 weiyuan. All rights reserved.
//

#import <UIKit/UIKit.h>

@class WYBannerModel,WYBannerView;
@protocol WYBannerViewDelegate <NSObject>
- (void)bannerViewDidSelect:(WYBannerView *)bannerView actionUrl:(NSString *)url;
@end

@interface WYBannerView : UIView
@property (nonatomic, strong) NSArray<WYBannerModel *> *dataModels;
@property (nonatomic, weak) id<WYBannerViewDelegate> delegate;

- (void)startAnimate;
- (void)stopAimate;
@end
